#ifndef ENPARSEOSC_H
#define ENPARSEOSC_H

#include <OSCthulhuClient.h>
#include <enmodule.h>
//#include <endrawcontext.h>

/* This Class parses messages from the OSCthulhu system */
class EnParseOSC : public QObject
{
    Q_OBJECT

public:
    EnParseOSC( OSCthulhuClient* client, EnModule* m );

public slots:
    void sendBody( EnBody* body );
    void removeBody( QString bodyMapKey );
    void addObject( QString msg );
    void removeObject( QString msg );
    void parseArgument( QString msg, int newValue );
    void setPoint( QString bodyMapKey, const QPointF& point );
    void setColor( QString bodyMapKey, const QColor& color );

private:
    OSCthulhuClient* oscClient;
    EnModule* module;
};

#endif // ENPARSEOSC_H
